package com.example.environment.tools.common;

public enum ResultCode {

    SUCCESS(0,"操作成功"),
    FAILED(-1,"操作失败"),
    ExistPhone(40,"手机号已被注册");

    private ResultCode(int code,String msg){
        this.code=code;
        this.msg=msg;
    }

    private int code=0;
    private String msg="操作成功";

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
